<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<?php echo $this->headMeta()->appendHttpEquiv('Content-Type', 'text/html; charset=utf-8'); ?>
    <?php echo $this->headLink(); ?>
    <?php echo $this->headScript(); ?>
    <?php echo $this->headTitle(); ?>
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/>
    <script type="text/javascript">
		$(function(){
			$('#slider-wrapper').slides({
				preload: true,
				preloadImage: 'images/loading.gif',
				play: 3000,
				pause: 1000,
				hoverPause: true,
				animationStart: function(current){
					$('.slides-back').animate({
						bottom:-35
					},100);
					if (window.console && console.log) {
						// example return of current slide number
						console.log('animationStart on slide: ', current);
					};
				},
				animationComplete: function(current){
					$('.slides-back').animate({
						bottom:0
					},200);
					if (window.console && console.log) {
						// example return of current slide number
						console.log('animationComplete on slide: ', current);
					};
				},
				slidesLoaded: function() {
					$('.slides-back').animate({
						bottom:0
					},200);
				}
			});
		});
        
        tinyMCE.init({
        // General options
        mode : "textareas", // mặc định mode : "textareas", nếu sử dụng mặc định bỏ dòng elements bên dưới
        //elements : "textarea_full", // cái này là tùy chỉnh của bạn , nhận tất cả các textarea có id là textarea_full
        theme : "advanced",
        plugins : "spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",
        
         // Các button sẽ thêm vào, 
        theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,formatselect,fontselect,fontsizeselect,media,image",
        theme_advanced_buttons2 : "bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,cleanup,code,|,sub,sup,|,charmap,emotions,iespell,|,del,ins,|,forecolor,backcolor",
        theme_advanced_buttons3 : "",
        
        theme_advanced_toolbar_location : "top",
        theme_advanced_toolbar_align : "left",
        theme_advanced_statusbar_location : "bottom",
        theme_advanced_resizing : true,
        
        // Skin options
        skin : "o2k7",
        skin_variant : "silver",
        
        // Example content CSS (should be your site CSS)
        content_css : "<?php echo $this->baseUrl(); ?>/public/templates/admin/css/tiny_mce.css",
        
        // Drop lists for link/image/media/template dialogs
        template_external_list_url : "js/template_list.js",
        external_link_list_url : "js/link_list.js",
        external_image_list_url : "js/image_list.js",
        media_external_list_url : "js/media_list.js",
        
        // Replace values for the template plugin
        template_replace_values : {
        username : "Some User",
        staffid : "991234"
        }
    });
	</script>
</head>

<body>
    <div class="pixel">
            <div id="top">
                <div id="login_register">
                    <?php
                        $auth = Zend_Auth::getInstance();
                        if(!$auth->hasIdentity()) :
                    ?>
                    <a href="<?php echo $this->baseUrl('index/login');?>?height=230&width=350" class="thickbox" title="Đăng nhập" style="border:none;">Đăng nhập</a>
                    &nbsp;|&nbsp;
                    <a href="<?php echo $this->baseUrl('index/register');?>">Đăng ký</a>
                    <?php
                        else :
                        $info = $auth->getIdentity();
                    ?>
                    <a href="<?php echo $this->baseUrl('user');?>" style="border:none;"><?php echo $info->email; ?></a>
                    &nbsp;|&nbsp;
                    <a href="<?php echo $this->baseUrl('index/logout');?>" onclick="logout()">Thoát</a>
                    <?php endif; ?>
                </div>
            </div>
            <div id="header">
                
                <div id="logo-and-search">
                    <a href="<?php echo $this->baseUrl(); ?>">
                        <img src="<?php echo $this->DirImg; ?>/logo.png" width="236" height="64" class="logo"/>
                    </a>
                </div>
                <div id="navigation" class="clearfix">
                    <ul id="menu-bottom-menu" class="blue-nav clearfix">
                        <li id="menu-item-469" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-469">
                            <a href="<?php echo $this->baseUrl(); ?>">
                                Trang chủ
                            </a>
                        </li>
                        <li id="menu-item-470" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-470">
                            <a href="<?php echo $this->baseUrl('tour'); ?>">
                                Tours du lịch
                            </a>
                        </li>
                        <li id="menu-item-471" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-471">
                            <a href="<?php echo $this->baseUrl('news'); ?>">
                                Tin tức
                            </a>
                        </li>
                        <li id="menu-item-472" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-472">
                            <a href="<?php echo $this->baseUrl('contact'); ?>">
                                Liên hệ
                            </a>
                        </li>
                    </ul>
                </div>
            </div><!-- End Header -->
            <div id="main-wrapper">
                
                <?php echo $this->layout()->content; ?>
                
            </div><!--End wrapper -->
        <div style="clear:both;"> </div>
        <div id="footer">
            <div id="footer-inner-wrapper">
                <div class="footer-columns">
                    <div class="widget">
                        <h3>Các thành viên</h3>
                        <ul>
                            <li>
                                <a href="">Nguyễn Đức Yên</a>
                            </li>
                            <li>
                                 <a href="">Nguyễn Văn Trung</a>
                            </li>
                            <li>
                                <a href="">Trương Thị Thúy</a>
                            </li>
                            <li>
                                <a href="">Bùi Tiến Vinh</a>
                            </li>
                        </ul>
                    </div>
                </div>
            <div class="footer-columns-sec">
                <div class="widget">
                    <h3>Tag Cloud</h3>
                    <div id="tags-clouds" class="box">
                        <a class="tag-link-35" style="font-size: 18px;" title="1 topic" href="<?php echo $this->baseUrl('index/tour'); ?>">Tour du lịch</a>
                        <a class="tag-link-36" style="font-size: 14px;" title="1 topic" href="<?php echo $this->baseUrl('index/news'); ?>">Tin tức</a>
                        <a class="tag-link-38" style="font-size: 26px;" title="3 topics" href="<?php echo $this->baseUrl('index/contact'); ?>">Liên hệ</a>
                        <a class="tag-link-39" style="font-size: 14px;" title="1 topic" href="http://google.com">Google</a>
                        <a class="tag-link-40" style="font-size: 20px;" title="6 topic" href="http://yahoo.com">Yahoo</a>
                        <a class="tag-link-41" style="font-size: 14px;" title="1 topic" href="http://facebook.com">Facebook</a>
                        <a class="tag-link-61" style="font-size: 21.2px;" title="2 topics" href="http://myspace.com">MySpace</a>
                        <a class="tag-link-42" style="font-size: 16px;" title="1 topic" href="http://zing.vn">Zing</a>
                        <a class="tag-link-61" style="font-size: 22px;" title="2 topics" href="http://umarket.vn/">uMarket</a>
                        <a class="tag-link-43" style="font-size: 14px;" title="1 topic" href="http://youtube.com">Youtube</a>
                        <a class="tag-link-61" style="font-size: 21.2px;" title="2 topics" href="http://php.net">PHP</a>
                        <a class="tag-link-61" style="font-size: 15.2px;" title="4 topics" href="http://www.apache.org/">Apache</a>
                        <a class="tag-link-61" style="font-size: 18px;" title="5 topics" href="http://www.mysql.com/">MySQL</a>
                        <a class="tag-link-61" style="font-size: 14px;" title="2 topics" href="http://www.zend.com/">Zend</a>
                        <a class="tag-link-61" style="font-size: 18px;" title="2 topics" href="http://ufood.vn/">uFood</a>
                    </div>
                </div>
            </div>
            <div class="footer-columns-last">
                <div class="widget">
                    <h3>Liên kết</h3>
                    <ul>
                        <li class="cat-item cat-item-8">
                            <a href="http://travel.com.vn/">Travel</a>
                        </li>
                        <li class="cat-item cat-item-28">
                            <a href="http://vietravelmedia.com/">Việt Travel</a>
                        </li>
                        <li class="cat-item cat-item-15">
                            <a href="http://dulichviet.com.vn/">Du Lịch Việt</a>
                        </li>
                        <li class="cat-item cat-item-1">
                            <a href="http://www.lienbangtravel.com/">Du Lịch Liên Bang</a>
                        </li>
                        <li class="cat-item cat-item-20">
                            <a href="http://www.dulichnamchau.vn/">Du Lịch Năm Châu</a>
                        </li>
                        <!--<li class="cat-item cat-item-31">
                            <a href="http://vietravelmedia.com/">Việt Travel</a>
                        </li>-->
                    </ul>
                </div>
            </div>
        </div>
     </div>
     </div><!--End Pixel -->
</body>
</html>